home *** CD-ROM | disk | FTP | other *** search
- Path: bloom-beacon.mit.edu!ai-lab!mikc
- From: mikc@gnu.ai.mit.edu (Mike Coughlin)
- Newsgroups: comp.dcom.modems,comp.sys.sun.admin
- Subject: Re: xmodem on UNIX
- Date: 4 Feb 1996 15:41:12 GMT
- Organization: Free Software Foundation / Cambridge, MA USA
- Message-ID: <4f2k2o$kvm@life.ai.mit.edu>
- References: <4eidgr$f2@dortmund.germany.eu.net>
- NNTP-Posting-Host: spiff.gnu.ai.mit.edu
-
- In article <4eidgr$f2@dortmund.germany.eu.net>,
- Stephan Erber <stephan@isd-pm.de> wrote:
- >I am looking for UNIX terminalsoftware implementing X-, Y- and Z-modem
- >protocols and perhaps Kermit.
- >Did anyone around hear of something like that? Please mail.
-
- I use kermit on my Sun 3 all the time. It also allows me to
- use zmodem, but there are many problems. Zmodem sometimes works
- to download files, but I have to use Y-modem to upload them.
- Kermit works to and from various Unix systms over networks.
- There are at least 2 versions of zmodem for unix (rz sz) and
- they old one is considered better than the new. With enough
- hacking, you can get them to work.
-
- Here is something I saved from an old comp.sys.sun article that
- shows you what you are up against --
-
-
- >In short, how do I start up a zmodem download/upload from within
- >kermit or tip?
-
- This is from ckuker.bwr, which comes with c-kermit 190:
-
- You can also use your shell's i/o redirection facilities to assign C-Kermit's
- open file descriptor (ttyfd) to stdin or stdout. For example, old versions of
- the UNIX ZMODEM programs, sz and rz, when invoked as external protocols,
- expect to find the communication device assigned to stdin and stdout with no
- option for specifying any other file descriptor on the sz or rz command line.
- However, you can still invoke sz and rz as exterior protocols from C-Kermit if
- your current shell ($SHELL variable) is ksh (the Korn shell) or bash (the
- Bourne-Again shell), which allows assignment of arbitrary file descriptors to
- stdin and stdout:
-
- C-Kermit> run rz <&\v(ttyfd) >&\v(ttyfd)
-
- or:
-
- C-Kermit> run sz oofa.zip <&\v(ttyfd) >&\v(ttyfd)
-
- In version 5A(190) and later, you can use C-Kermit's REDIRECT command, if it
- is available in your version of C-Kermit, to accomplish the same thing without
- going through the shell:
-
- C-Kermit> redirect rz
-
- or:
-
- C-Kermit> redirect sz oofa.zip
-
- A complete set of rz,sz,rb,sb,rx,sx macros for UNIX C-Kermit is defined
- in the file ckurzsz.ini. It automatically chooses the best redirection
- method.
-
- --
- Michael Coughlin mikc@gnu.ai.mit.edu Cambridge, MA USA
-